<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("capital:merchantapplycashitems:save")>
            <a class="btn btn-primary btn-sm" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("capital:merchantapplycashitems:update")>
            <a class="btn btn-primary btn-sm" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("capital:merchantapplycashitems:delete")>
            <a class="btn btn-primary btn-sm" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">申请提现id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.applyCashId" placeholder="申请提现id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.orderId" placeholder="订单id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单状态</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.orderStatus" placeholder="订单状态"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单下单时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.orderCreateTime" placeholder="订单下单时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">商品总额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.totalAmount" placeholder="商品总额"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">配送费用</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.costFreight" placeholder="配送费用"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">调价</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.discount" placeholder="调价"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">商品促销优惠</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.pmtGoods" placeholder="商品促销优惠"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">优惠券促销</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.pmtOrder" placeholder="优惠券促销"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">随机立减</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.pmtRandom" placeholder="随机立减"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单应付金额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.payableAmount" placeholder="订单应付金额"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单支付金额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.payed" placeholder="订单支付金额"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">支付类型</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.payment" placeholder="支付类型"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">支付时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.paymentTime" placeholder="支付时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">销售类型</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.promotionType" placeholder="销售类型"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单完成时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.finishTime" placeholder="订单完成时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单提现汇费</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="merchantApplyCashItems.fee" placeholder="订单提现汇费"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary btn-sm" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/capital/merchantapplycashitems.js?_${.now?long}"></script>
</body>
</html>